package simpleapp.model {
	import simpleapp.utils.UUID;
	/**
	 * ...
	 * @author mprzybys
	 */
	public class Person {
		
		private var _id:String;
		
		private var _name:String;
		
		private var _surname:String;
		
		private var _birthYear:int;
		
		public function Person(name:String, surname:String, birthYear:int) {
			_id = UUID.create(this);
			_name = name;
			_surname = surname;
			_birthYear = birthYear;
		}
		
		public function get name():String {
			return _name;
		}
		
		public function get surname():String {
			return _surname;
		}
		
		public function get birthYear():int {
			return _birthYear;
		}
		
		public function get id():String {
			return _id;
		}
		
	}

}